package com.example.shkjdemo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.shkjdemo.R
import com.example.shkjdemo.bean.BluetoothBean

class MyBluetoothAdapter(layoutResId: Int) :
    BaseQuickAdapter<BluetoothBean, BaseViewHolder>(layoutResId) {

    override fun convert(holder: BaseViewHolder, item: BluetoothBean) {
        holder.setText(R.id.tvname, item.name)
        holder.setText(R.id.tvinfo, item.mac)

    }



}